package weekendpractice.AnimalZoo;

public class Dog extends Animal implements Swim {
    Dog (int age,String name,String color){
        super(age,name,color);
    }

    @Override
    void eat() {
        System.out.println(name+" like to eat bones");
    }
    @Override
    public void swim() {
        System.out.println(name+" is still swimming......");
    }
    void lookHouse(){
        System.out.println(name+" is looking after the house!!");
    }
}
